@echo off
set VERSION=0.6.0-SNAPSHOT
if "%1" == "generate" goto gen
if "%1" NEQ generate goto wclcom
:gen
mvn archetype:generate -DarchetypeRepository=file://"%WCL_HOME%"/repo/repository/ -DarchetypeCatalog=file://"%WCL_HOME%"/repo/archetype-catalog.xml -DarchetypeArtifactId=wctemplate-archetype -DarchetypeGroupId=pl.rabbitsoftware -DarchetypeVersion=%VERSION%
:wclcom
java -jar "%WCL_HOME%"\bin\wicketcool.commandline.jar %* 